import com.golden.gamedev.object.*;

import replay.*;


public class Resume {
	private StateTableFileManager stfm;
	public Resume(){
		stfm = new StateTableFileManager();
	}
	
	public PlayField resumeGame(String fileName){
		try {
			StateTable table = stfm.returnStateTableFromFile(fileName);
			return table.getLastPlayField();
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
			return null;
		}
	}
}
